define(
    ['google', 'stuff', 'sharedc'],
  function(google, stuff, sharedc){
        var foliant = null;
        var thefile = null;
        var filename = 'name';
        return {
                 init:function(file) {
                         foliant.init();
                         sharedc.register('book', 'last_html', foliant.render_all_pages);
                         thefile = file;
                 },
                 load:function() {
                         foliant.load(thefile, 'jsepub');
                 },
                 get_page:function(i){
                         return foliant.get_page(i);
                 },
                 evo:function(){
                         return evo;
                 },
                 currentpage:function(){
                         return foliant.currentpage()
                 },
                 foliant:function(){
                         return foliant;
                 }
        }
  }
);
